import request from '@/utils/request'

// 查询808转发管理列表
export function listEightforward(query) {
  return request({
    url: '/yun/eightforward/list',
    method: 'get',
    params: query
  })
}

// 查询808转发管理详细
export function getEightforward(id) {
  return request({
    url: '/yun/eightforward/' + id,
    method: 'get'
  })
}

// 新增808转发管理
export function addEightforward(data) {
  return request({
    url: '/yun/eightforward',
    method: 'post',
    data: data
  })
}

// 修改808转发管理
export function updateEightforward(data) {
  return request({
    url: '/yun/eightforward',
    method: 'put',
    data: data
  })
}

// 删除808转发管理
export function delEightforward(id) {
  return request({
    url: '/yun/eightforward/' + id,
    method: 'delete'
  })
}
